package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.vo.WaterFlowVO;
import com.lanchetech.entity.WaterFlow;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WaterFlowMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WaterFlow record);

    int insertSelective(WaterFlow record);

    WaterFlow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WaterFlow record);

    int updateByPrimaryKey(WaterFlow record);

    List<WaterFlowVO> findAllPage(PageReq req);
}